 package com.mian;
 
 import com.server.PokeServer;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
 public class PokeServerStart
 {
   private static Logger logger = LoggerFactory.getLogger(PokeServerStart.class);
   private static PokeServerStart instance;
 
   public static PokeServerStart getInstance()
   {
       if (instance == null)
       instance = new PokeServerStart();
       return instance;
   }
 
   public void startup()
   {
     try 
     {
    	 PokeServer pokeServer = PokeServer.getInstance();
    	 pokeServer.startup();
 
    	 logger.info("method: nunu server startup . has done, server start. ");
     }
     catch (Exception e) 
     {
    	 logger.error("method: startup throws errors.server down.{} ", e);
    	 System.exit(-1);
     }
   }
 
   public static void main(String[] args)
   {
     getInstance().startup();
   }
 }

